package com.xy.biz.xd.service;

import com.xy.biz.xd.domain.req.ApplyDocumentFlowBorrowRequest;
import com.xy.biz.xd.domain.req.ReleaseDocumentFlowNewRequest;
import com.xy.lang.domain.Result;

public interface DocumentFlowBorrowService extends DocumentFlowBorrowAndPrintAndDropService {

    /**
     * 编辑申请单并开启文件借阅流程
     * @param request
     */
    Result<?> saveDocumentFlow(ApplyDocumentFlowBorrowRequest request);

    /**
     * 借阅流程放行
     * @param request
     * @return
     */
    Result<?> releaseDocumentFlow(ReleaseDocumentFlowNewRequest request);
}
